package com.huan.study.mongo.repository;

import com.huan.study.mongo.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author huan.fu
 * @date 2018/4/16 - 15:16
 */
public interface UserRepository extends MongoRepository<User, String> {

	List<User> findByAgeEquals(Integer age);

}
